import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';

import { AppComponent } from './app.component';
import {PagesModule} from "./pages/pages.module";
import {ShareModule} from "./share/share.module";
import {AppRouting} from "./app.routing";
import {BrowserAnimationsModule} from "@angular/platform-browser/animations";
import {GetOrginizationService} from "./share/services/get-orginization.service";
import {GetRTDataByKKSCodesService} from './share/services/get-rtdata-by-kkscodes.service';

const GLOBAL_SERVICES = [
  GetOrginizationService,
  GetRTDataByKKSCodesService
]
@NgModule({
  declarations: [

    AppComponent
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    FormsModule,
    HttpModule,
    AppRouting,
    PagesModule,
    ShareModule,
  ],
  providers: [...GLOBAL_SERVICES],
  bootstrap: [AppComponent]
})
export class AppModule { }
